cx4 - ComputerCraft Cloud Chest. Store your data in the cloud.
#21
Posted 16 July 2015 - 03:55 AM
#22
Posted 16 July 2015 - 06:54 AM
Forgotten_Boy, on 16 July 2015 - 03:55 AM, said:
#23
Posted 20 July 2015 - 04:44 PM
#24
Posted 10 August 2015 - 03:42 PM
I could do everything I wanted very easily.
http://www.computerc...cket-me-system/
Thank you very much !
I hope my program won't rustle your servers. If it gets used a lot, you might have quite a number of ME Systems inventory dumps in your database. D:
Edited by Yarillo, 10 August 2015 - 04:00 PM.
#25
Posted 10 August 2015 - 10:05 PM
Yarillo, on 10 August 2015 - 03:42 PM, said:
I could do everything I wanted very easily.
http://www.computerc...cket-me-system/
Thank you very much !
I hope my program won't rustle your servers. If it gets used a lot, you might have quite a number of ME Systems inventory dumps in your database. D:
I think you killed the server. I cannot access any part of it.
@Forgotten_boy
Could you publish the webserver code so servers could run their own? (It would also save your servers)
Also I have a website host with unlimited disk and and bandwidth(but in details it says I have 100000GB), if you need help with hosting.
Can't help you if you are running this on a VPS or anything.
Edited by Xgamer911, 10 August 2015 - 10:13 PM.
#26
Posted 11 August 2015 - 02:20 AM
Xgamer911, on 10 August 2015 - 10:05 PM, said:
Yarillo, on 10 August 2015 - 03:42 PM, said:
I could do everything I wanted very easily.
http://www.computerc...cket-me-system/
Thank you very much !
I hope my program won't rustle your servers. If it gets used a lot, you might have quite a number of ME Systems inventory dumps in your database. D:
I think you killed the server. I cannot access any part of it.
@Forgotten_boy
Could you publish the webserver code so servers could run their own? (It would also save your servers)
Also I have a website host with unlimited disk and and bandwidth(but in details it says I have 100000GB), if you need help with hosting.
Can't help you if you are running this on a VPS or anything.
I can't access it either.
Bummer.
#27
Posted 11 August 2015 - 04:50 AM
It's back up, but to avoid a paywall appearing sooner than later, here's what you should do: less requests, much less often. Two per second seems overkill for anything that isn't connected to a medical device keeping a family member alive.
#28
Posted 11 August 2015 - 05:02 AM
Forgotten_Boy, on 11 August 2015 - 04:50 AM, said:
It didn't seem like a lot but I'll keep it down !
I already cut by half the length of my requests. I'll try and find a way to limit their frequency.
You should build a safeguard inside the API on pastebin. Something that keeps track of the amount of characters requested and sent and calculates an average flow rate and doesn't let you do anything until that rate is under a certain point.
Edited by Yarillo, 11 August 2015 - 05:09 AM.
#29
Posted 11 August 2015 - 05:05 AM
HTTP programming is pretty easy, but being respectful of someone's server takes a little extra work
#30
Posted 11 August 2015 - 07:28 AM
Quote
I might simply use Craft-A-Cloud by default if the servers can't hold my swag. It'll be way more stable. If my program gains in popularity (as of only 30 users for instance), I want it to be able to hold whatever happens.
I can't simply reduce the frequency to once a minute. The refreshing is manual. I'll make it boot on a locally stored copy of the latest content of the ME system though.
#31
Posted 11 August 2015 - 07:49 AM
[Tue, 11 Aug 2015 07:27:13 GMT] "GET /guid/0.cc?location=1 HTTP/1.1" 404 156
That's abusive of my server - any server - and even a valid GET is simply not necessary at that speed. Definitely you will need to find your own host to have 30 users doing that; a webserver that handles 60 requests a second costs real money.
Since your program is still hitting my server, I've blocked your IP; if you want to try a version of your program that requests less than four times per hour, I'll let you back in. That's about the level of availability this is intended to support.
#32
Posted 12 August 2015 - 06:15 AM
Quote
Quote
I don't think so, no. But maybe. I don't know how your API works on the inside but on my side i'm sending two 4 chars long requests for each search in the database (the request, the response) and every once in a while I have to send a big one when it refreshes.
I'll cut down the automatic refresh on boot by saving the latest inventory locally and I'll keep you in touch. If you want you can unban me to try and see if it works. Otherwise, I already integrated craft-a-cloud and users can choose to use it by default via the options. But I started with yours and I'd very much like to stick with it.
Edited by Yarillo, 12 August 2015 - 06:25 AM.
#33
Posted 12 August 2015 - 06:29 AM
#34
Posted 12 August 2015 - 06:33 AM
Reducing the server load seemed like courtesy to me but it looks like you don't see it that way. I'll do it anyway but you won't get to see the results. I'm sorry but I don't have time to work around a picky host for a program that was supposed to be simple but already proved itself headache inducing because that
(but that's just the official version, I would have stuck with it if it weren't for your rudeness :/)
Edited by Yarillo, 12 August 2015 - 06:48 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












