• What are you working on? January 2012
    3,401 replies, posted
How many people with opinions here have actually coded a website serving more than 1,000 concurrent users?
I've never measured concurrency but during peak traffic, AnyHub serves about 80 requests per second on a 1.6Ghz Intel Atom
[QUOTE=Chris220;34180601]Ah, here we go: [img]http://screensnapr.com/e/ohHyFM.png[/img][/QUOTE] This is an old image, breaking clusterflutterer is easy on paper. For the client to be able to use any of the obfuscated data stored in the huge array to be displayed, it must be told (or know) where to look. Disclaimer: I don't claim to be able to do this although I probably could give it a good go
Ok, got some stats: [img]http://i.imgur.com/Zn9EC.png[/img] [img]http://i.imgur.com/HQ8tE.png[/img] So 1,508 concurrent connections across two servers. I think I have [i]some[/i] idea of what I'm on about.
[QUOTE=swift and shift;34192049]Ok, got some stats: [img]http://i.imgur.com/Zn9EC.png[/img] [img]http://i.imgur.com/HQ8tE.png[/img] So 1,508 concurrent connections across two servers. I think I have [i]some[/i] idea of what I'm on about.[/QUOTE] Not to diss or anything - but you're just serving files right? Surely php/asp/whatever doesn't even touch 99% of that? Not trying to prove you wrong or anything - just curious. I mean compared to something like forums or whatever where it's hitting the database every page view.
[img]http://f.anyhub.net/4PUI[/img] Stress testing the octree. Seems to handle over 85,000 leaves fine, rendering at a solid frame rate. I haven't even culled faces that are not visible yet. If anyone wants a job, could you use LibNoise to generate a simple heightmap based terrain in the [url=https://github.com/Metapyziks/MarsMiner/blob/master/MarsMiner.Shared/OctreeTestWorldGenerator.cs]MarsMiner.Shared.OctreeTestWorldGenerator[/url] class. LibNoise is already included in the project. I'll be working on culling faces in the mean time.
[QUOTE=garry;34192295]Not to diss or anything - but you're just serving files right? Surely php/asp/whatever doesn't even touch 99% of that? Not trying to prove you wrong or anything - just curious. I mean compared to something like forums or whatever where it's hitting the database every page view.[/QUOTE] The first screenshot is of my linux proxy cache running nginx. 80-90% of the time that's not hitting anything dynamic, just serving out of a disk cache. The other 10-20% of the time that proxies through to the Windows server running IIS. The second screenshot is of the Windows server. Every request that isn't for a static resource like CSS or JS hits ASP.NET and does a full trip through the framework, hitting MySQL and Redis as well.
[QUOTE=garry;34191372]What are you gonna use?[/QUOTE] Compiled php?
[QUOTE=swift and shift;34192368]The first screenshot is of my linux proxy cache running nginx. 80-90% of the time that's not hitting anything dynamic, just serving out of a disk cache. The other 10-20% of the time that proxies through to the Windows server running IIS. The second screenshot is of the Windows server. Every request that isn't for a static resource like CSS or JS hits ASP.NET and does a full trip through the framework, hitting MySQL and Redis as well.[/QUOTE] Do you reckon asp.net is worth a look then? Do you know much PHP too?
[QUOTE=Overv;34191160]ROBO_DONUT, how do you think quantum computing will influence the future of CPUs and GPUs? Would it suit the current architecture of GPUs because of its highly efficient parallel computing capabilities or would we have to conceive entire new architectures? And how can it be used for CPUs, if at all?[/QUOTE] I honestly don't know D:
[QUOTE=Ziks;34192359][img]http://f.anyhub.net/4PUI[/img] Stress testing the octree. Seems to handle over 85,000 leaves fine, rendering at a solid frame rate. I haven't even culled faces that are not visible yet. If anyone wants a job, could you use LibNoise to generate a simple heightmap based terrain in the [url=https://github.com/Metapyziks/MarsMiner/blob/master/MarsMiner.Shared/OctreeTestWorldGenerator.cs]MarsMiner.Shared.OctreeTestWorldGenerator[/url] class. LibNoise is already included in the project. I'll be working on culling faces in the mean time.[/QUOTE] MY EYES
This is why you don't let your web guy have access to the svn repository. [t]http://dl.dropbox.com/u/11093974/Junk/graphicsrape3.png[/t]
So I had an idea for a RTS game after I found this open source RTS engine: [url]http://springrts.com/[/url] Woudn't it be cool if you could program your own units? Basically like that one C++ robot game someone posted a few years ago. If I used Lua, and just transfer the files, how would I ensure no malicious code will be executed? Do I simply parse it with regex and deny execution it if any illegal function or code has been found?
I checked out a recent asset store newsletter from Unity and it had "Pitch Poll" created by facepunch Studios LTD, Nice. [url]http://u3d.as/content/facepunch-studios-ltd/pitch-poll/2sc?utm_source=newsletter01&utm_medium=email&utm_campaign=assetstore&mkt_tok=3RkMMJWWfF9wsRonuKTAZKXonjHpfsX86OstWKK1lMI/0ER3fOvrPUfGjI4ARMFiI/qLAzICFpZo2FFNFOmBZdNE[/url] Does it work on Android though?
[QUOTE=DrLuke;34194151]If I used Lua, and just transfer the files, how would I ensure no malicious code will be executed? Do I simply parse it with regex and deny execution it if any illegal function or code has been found?[/QUOTE] You do nothing.
Internal faces are now culled. Got it generating a simple perlin noise world: [img]http://f.anyhub.net/4PXP[/img] Although it's very slow at generating it because I'm populating the octree with 65536 columns. I'll try and speed it up a bit now.
[QUOTE=DrLuke;34194151]So I had an idea for a RTS game after I found this open source RTS engine: [url]http://springrts.com/[/url] Woudn't it be cool if you could program your own units? Basically like that one C++ robot game someone posted a few years ago. If I used Lua, and just transfer the files, how would I ensure no malicious code will be executed? Do I simply parse it with regex and deny execution it if any illegal function or code has been found?[/QUOTE] Oh god, the nostalgia. [url]http://media.vtwproductions.com/forum/index.php?topic=1763.0[/url] This is when I learned that group projects are a bad idea.
[QUOTE=jalb;34193767]This is why you don't let your web guy have access to the svn repository. [t]http://dl.dropbox.com/u/11093974/Junk/graphicsrape3.png[/t][/QUOTE] what is this game going to be about again? holding hands? [editline]13th January 2012[/editline] [QUOTE=supersnail11;34194257]Oh god, the nostalgia. [url]http://media.vtwproductions.com/forum/index.php?topic=1763.0[/url] This is when I learned that group projects are a bad idea.[/QUOTE] [quote=matty]Colour me interested. I'm a professional Linux hacker, and have worked on releases of Linux Operating Systems and Software for 9 years. My skills are mostly web server side, and operating system packaging level. Sadly, I'm not a coder and graphics arent my thing. But, these are my specialties: Build Automation and Engineering, Localization Integration, RPM and Deb packaging, "Making it work" [/quote]
[QUOTE=DrLuke;34194151]So I had an idea for a RTS game after I found this open source RTS engine: [url]http://springrts.com/[/url] Woudn't it be cool if you could program your own units? Basically like that one C++ robot game someone posted a few years ago. If I used Lua, and just transfer the files, how would I ensure no malicious code will be executed? Do I simply parse it with regex and deny execution it if any illegal function or code has been found?[/QUOTE] you disallow access to io., os. and debug.
[img]http://dl.dropbox.com/u/4081391/slime.gif[/img] Yeah, I was going to make a raytracer but then I got sidetracked and made a slime ball instead. Also with higher distortion level it looks like a glass window: [img]http://dl.dropbox.com/u/4081391/windowslime.gif[/img] I thought that was pretty neat. Now back to raytracing. EDIT: There we go. [img]http://i.imgur.com/667FZ.png[/img] I'm trying to copy that WebGL path tracing thing, going pretty well so far :v:
[QUOTE=amcfaggot;34194268]what is this game going to be about again? holding hands?[/QUOTE] This is just the prelude of the events to come. Right now the hamsters are in a state of peace and prosperity. All is well in the world of Hamtopia ... that is, until we implement guns. [t]http://dl.dropbox.com/u/11093974/Junk/shadows.png[/t] Playing around with shadows and such.
[QUOTE=DrLuke;34194151]So I had an idea for a RTS game after I found this open source RTS engine: [URL]http://springrts.com/[/URL] Woudn't it be cool if you could program your own units? Basically like that one C++ robot game someone posted a few years ago. If I used Lua, and just transfer the files, how would I ensure no malicious code will be executed? Do I simply parse it with regex and deny execution it if any illegal function or code has been found?[/QUOTE] That's been one of my Pet Projects for a long time now, I started working on something like that quite a while ago, I still have the code around somewhere. I got as far as networked units and resource gathering. Here's the Code. [URL]http://code.google.com/p/codegame/[/URL] Oh and I took care of security by having all code run client-side but unit code is called on the server.
Hmm... [img]http://www.facepunch.com/fp/ratings/information.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows3.png[/t] Less is more? [img]http://www.facepunch.com/fp/ratings/zing.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows2.png[/t]
[QUOTE=jalb;34194654]Hmm... [img]http://www.facepunch.com/fp/ratings/information.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows3.png[/t] Less is more? [img]http://www.facepunch.com/fp/ratings/zing.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows2.png[/t][/QUOTE] I honestly don't see a difference.
[QUOTE=supersnail11;34194776]I honestly don't see a difference.[/QUOTE] [img]http://dl.dropbox.com/u/11093974/Junk/shadows4.png[/img] Difference is in the shading.
[QUOTE=jalb;34194802][img]http://dl.dropbox.com/u/11093974/Junk/shadows4.png[/img] Difference is in the shading.[/QUOTE] The sky color is different?
[QUOTE=supersnail11;34194823]The sky color is different?[/QUOTE] [QUOTE]Difference is in the shading.[/QUOTE]
[QUOTE=supersnail11;34194823]The sky color is different?[/QUOTE] gradient
[QUOTE=jalb;34194654]Hmm... [img]http://www.facepunch.com/fp/ratings/information.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows3.png[/t] Less is more? [img]http://www.facepunch.com/fp/ratings/zing.png[/img] [t]http://dl.dropbox.com/u/11093974/Junk/shadows2.png[/t][/QUOTE] I think you should focus on making that grass look nice before moving onto something else, unless you intend on scraping it. Your shading is an okay addition I guess, but I'm far too distracted by the aliasing on the dirt and gaps in between your grass overlays.
[QUOTE=supersnail11;34194823]The sky color is different?[/QUOTE] Maybe you see it now: [img]http://i54.tinypic.com/15yu0ee.png[/img][img]http://i54.tinypic.com/1yqnx2.png[/img]
Sorry, you need to Log In to post a reply to this thread.