Forgot your password?
typodupeerror

Submission Summary: 0 pending, 1 declined, 0 accepted (1 total, 0.00% accepted)

Programming

+ - Moving From PHP To Something Faster - But What?

Submitted by shambalagoon
shambalagoon (714768) writes "I run a chat bot site that is written in PHP and uses MySQL. The heart of the site is the AI Engine, which takes messages the user writes, processes them, and generates responses. During the processing of each sentence there are dozens of database calls. Right now the server can slow down with even moderate traffic, so I want to translate the AI Engine into something that would be lightning fast and able to deal with millions of messages a day. My first thought was to translate it to C++ and run the compiled app as a web service, but I've also been advised that Java might be a better option. Complicating the situation is that the AI Engine interfaces with another compiled C app during processing. This app has a C API but also Java bindings. In the long run, I'd like it to not only work on the web server, but be able to run as a standalone app, and even be embedded in toys (although using a wireless internet connection for the toy to access the AI Engine online might be a better idea). What would be the best programming language and database type to use?"

How much net work could a network work, if a network could net work?

Working...