Hi Guys,
I've started working on another Conquer Online server (patch 4276) to improve my Elixir programming skills. I will be updating this thread as I make progress. My main goal of this exercise is for learning, so this server may never go live. However I would like to get it to the point of going public so I can do some benchmarks and stress testing.
Tech Stack
-------------
- Elixir (Programming lang)
- Erlang (Programming lang)
- MySql
- Ecto (ORM)
Tasks done
--------------
- Authentication Server
- Script to convert MySql schemas to Ecto Models
- Login to game server
One of the cool things about Erlang/Elixir is it's built in support for handling binary data. For example the code below shows the decode function which uses pattern matching to know which decode function to call, and uses the binary syntax to parse the values. Looks beautiful to me!
The Auth Server is setup using a bunch of processes operating concurrently. These processes are setup using a supervision hierarchy. If a child process crashes the supervisor re-starts it!
Anyways, I'm starting the initial game connector application. Still deciding how I want to structure it.
That's all for now,
Chuck