I’ve always loved multiplayer games and one of the first attempts I made at writing a mutliplayer game was a game written in Turing that would attempt to write to a shared hard drive everytime a players moved their position in the game. It was interesting. I learned that day that files were not immutable under DOS and would crash the game if two or more clients accessed the shared file at the same time.
Now nearly 20 years later we’ve had huge games such as World of Warcraft with up to 6 million subscribers and hundreds of thousands of users.
The technologies and solutions these companies came up with to scale this many users are varied and interesting.
However one solution that you can get out of the box is this server. I’ve tested it out, think it’s ok for what I would need. Now it comes down to price.
The unlimited license is €3,000.00 which is about $3380 american or $4480 canadian dollars.
It’s expensive. It probably works out to about $1 per a user.
The limited 5000 user license is only 2,100.00 euros. This works out to about 50 cents a user.
I’m really excited about fusion lately. I’ve been reading about the progress being made by several different companies and hope for the best. Fusion will change the world if it can be mastered.
is the world going to explode? LOL
Nope, Fusion is unsustainable, This is what makes it so difficult. Everytime you do any fusion it’s like a small explosion. It releases lots of energy but that in turn makes it less likely to keep fusing more atoms.
Fusion only happens continuously in the sun because of the immense gravitation energy which overcomes the nuclear forces.
Lately I’ve been working on Custom blogs and Total Cache just wasn’t cutting it because the cache would be regenerated daily. What’s involved in making the cache work is compressing the data and storing it locally. Do this for thousand pages daily where pages can take up to 2 seconds to load and it really starts to add up and you will quickly find that you can no longer host your blog on a non-dedicated server.
In order to get a page working with W3 Total Cache you have to load it once first.
If it takes a long time to load the page your site may run out of system resources.
This is where you want to use a tool like Fragment Cache
It can reduce load times considerably by caching portions of
your blog that don’t change considerably from page to page.
A simple problem of loading 5000 pages * 2 seconds a page would take ~3 hours to cache. If you did this daily your users would riot!
If you reduce the time from 2 seconds to 50 ms you will be in an acceptable range of 4 minutes.
Adding fragment cache requires experience with php/html to modify pages/templates though so it’s not something you can just load on your blog like total cache.
A quote from fragment cache:
There are a lot of great caching plugins out there, but this one solves a very particular need that none of the rest are doing. It allows you to cache particular sections of your page, using a technique known as “fragment caching”, which is readily available in other frameworks such as Ruby on Rails. The key benefit here: you can cache content for logged-in users! This is the main limitation of most other caching plugins, which is where the need for this solution came about.
There are other Fragment cache solutions out there including ones built into total cache. I found this one the easiest one for me to implement and use.
Also I’ve made a few simple updates to fragment cache such as directories/folders to improve disk read performance.
Finally you need to optimize the actual queries. Usually each page has a unique query. If this query is slow it really can affect how fast you cache your data.
Adding indexes to tables, or creating temporary tables to presort data will
improve performance. Use wordpress hooks to modify and add new tables.
Page load times:
Slower than 1 second users will notice and you will not have many concurrent users.
1 second loading time – Not so good.
0.5 second loading time – Ok
0.1 second loading time – Better than most
0.05 second loading time – Nice!
So I’m trying to use Yoyogames Gamemaker to create multiplatform games.
I think the tool does save a lot of time and make a job that would be normally impossible for a single developer, plausible. However, It can be a real pain.
This problem took me several days to fix because I was using Kongregate and any change I uploaded and made live would eventually revert because of their caching issue. Kongregate important note about uploading html5 games
I found that post through google luckily after noticing that they were caching old files somehow even after I had uploaded and tested the files in their “staging”.
Advertising with Google and admob:
I limited myself to a budget of $20 a day. I stopped the campaign after spending $24 or so I thought.
The campaign continued to charge me or had hidden the charges for the current day so I ended up with a bill of around $40. I was able to make back about $3 out of $40. Not a very good return for my money.
Currently there are about 60 people / 120 original installs with the game. With the majority of the people playing the game once or twice and then never playing it again.
All this work:
I’ve almost broke $15 on Kongregate and that’s including money from other games long past.
I’m -$40 on google play.
I should be starving.