Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 4 post(s) |
xHjfx
The Legion of Spoon Curatores Veritatis Alliance
0
|
Posted - 2012.10.31 14:28:00 -
[1] - Quote
Hi, in order to minimize the data transfer between the API, can you please consider activating GZIP on the API?
You guys save a ton of bandwidth and our API retrieval times speed up because it's downloading smaller files i.e.
AllianceList will compress to around 80% of its original size.
Just wondering if we can have a developer response on this please and here's two previous posts on the subject:
https://forums.eveonline.com/default.aspx?g=posts&t=62922
https://forums.eveonline.com/default.aspx?g=posts&t=13719 |
|
CCP illurkall
C C P C C P Alliance
15
|
Posted - 2012.10.31 14:58:00 -
[2] - Quote
Hey
I'll look into it. It makes perfect sense to me to enable compression. Need to dig around though if there are some crazy reasons why this wasn't done in the past.
|
|
xHjfx
The Legion of Spoon Curatores Veritatis Alliance
1
|
Posted - 2012.10.31 15:08:00 -
[3] - Quote
Thanks for your quick reply :)
Would it be possible to get a reply with your results when you get around to having a look?
Cheers |
|
CCP illurkall
C C P C C P Alliance
15
|
Posted - 2012.10.31 15:13:00 -
[4] - Quote
I should have something to report next week. There are a few housekeeping tasks I'm looking into for the API that I hope to deploy next week.
|
|
Sentient Blade
Walk It Off LEGIO ASTARTES ARCANUM
519
|
Posted - 2012.10.31 15:53:00 -
[5] - Quote
CCP illurkall wrote:I should have something to report next week. There are a few housekeeping tasks I'm looking into for the API that I hope to deploy next week.
Pleaseee let one of these be JSON output. |
Desmont McCallock
218
|
Posted - 2012.10.31 17:51:00 -
[6] - Quote
Sentient Blade wrote:CCP illurkall wrote:I should have something to report next week. There are a few housekeeping tasks I'm looking into for the API that I hope to deploy next week.
Pleaseee let one of these be JSON output. Which is quite easy on ASP.NET if CCP switches to .NET 4. CCP illurkall can correct me If am wrong but I believe that the API is build on .NET 2. |
Turk Fezzik
Merkhan Industries Li3 Federation
3
|
Posted - 2012.10.31 21:37:00 -
[7] - Quote
Sentient Blade wrote:CCP illurkall wrote:I should have something to report next week. There are a few housekeeping tasks I'm looking into for the API that I hope to deploy next week.
Pleaseee let one of these be JSON output.
I read that JSON provides around 40% data "compression" over XML on its own (sorry couldn't find the source of that claim). If you have to choose between JSON or gzip I'd vote for JSON.
|
Sentient Blade
Walk It Off LEGIO ASTARTES ARCANUM
519
|
Posted - 2012.10.31 22:33:00 -
[8] - Quote
Turk Fezzik wrote:Sentient Blade wrote:CCP illurkall wrote:I should have something to report next week. There are a few housekeeping tasks I'm looking into for the API that I hope to deploy next week.
Pleaseee let one of these be JSON output. I read that JSON provides around 40% data "compression" over XML on its own (sorry couldn't find the source of that claim). If you have to choose between JSON or gzip I'd vote for JSON.
Depends how you format it. Attribute heavy structures (like EVE) would mean that there is not much difference, if you use named nodes for every little thing then yeah, JSON would be much more efficient.
The main benefit to JSON is it's self representative of the underlying data structures. An array is an array, an object is an object. No jumping through hoops.
The downside is you can't validate it against a schema. But who gives a damn. |
|
CCP illurkall
C C P C C P Alliance
15
|
Posted - 2012.11.01 11:53:00 -
[9] - Quote
The deployment next week is about housekeeping. Replacing our internal caching layer, cleaning up some unused/unnecessary HTTP headers. Hopefully enabling gzip compression, just need to test that out a little first. No new features at this time. The API is running on .net 4.0 but it is unfortunately not a small task to enable json output for all the endpoints based on how the code is structured. |
|
June Ting
Valkyries of Night Of Sound Mind
6
|
Posted - 2012.11.01 14:10:00 -
[10] - Quote
Awesome, this is fantastic to hear! |
|
Desmont McCallock
218
|
Posted - 2012.11.01 14:17:00 -
[11] - Quote
If you end up enabling gzip I highly recommend in using ICSharpCode.SharpZibLib and not the .NET GZipStream or DeflateStream (the latest produce other headers than the ZipLib uses and you will end up with platforms incompatibilities). |
xHjfx
The Legion of Spoon Curatores Veritatis Alliance
1
|
Posted - 2012.11.06 17:14:00 -
[12] - Quote
Bumps |
Cyerus
Galactic Dominion Eternal Strife
60
|
Posted - 2012.11.06 20:05:00 -
[13] - Quote
Desmont McCallock wrote:If you end up enabling gzip I highly recommend in using ICSharpCode.SharpZibLib and not the .NET GZipStream or DeflateStream (the latest produce other headers than the ZipLib uses and you will end up with platforms incompatibilities).
I agree with Desmont, have had experience with this happening at my old employer. |
Karbowiak
4M-CORP BricK sQuAD.
70
|
Posted - 2012.11.10 00:27:00 -
[14] - Quote
CCP illurkall, did you get around to fixing gzip ? |
MJ Maverick
IronPig Sev3rance
96
|
Posted - 2012.11.11 17:44:00 -
[15] - Quote
Also, I refer to my thread about AllianceList.xml queries without downloading.
https://forums.eveonline.com/default.aspx?g=posts&m=1272204#post1272204 [EVEOTS] Eve Online Teamspeak 3 API Registration |
xHjfx
The Legion of Spoon Curatores Veritatis Alliance
2
|
Posted - 2012.11.12 09:20:00 -
[16] - Quote
Can't say we've had that issue using chromium bleeding edge builds or curl.. |
Wacktopia
Noir. Noir. Mercenary Group
288
|
Posted - 2012.11.12 22:55:00 -
[17] - Quote
CCP illurkall wrote:The deployment next week is about housekeeping. Replacing our internal caching layer, cleaning up some unused/unnecessary HTTP headers. Hopefully enabling gzip compression, just need to test that out a little first. No new features at this time. The API is running on .net 4.0 but it is unfortunately not a small task to enable json output for all the endpoints based on how the code is structured.
Gzip would be a massive help. The bottom line is that now I have one of those annoying signatures. |
|
CCP illurkall
C C P C C P Alliance
17
|
Posted - 2012.11.13 11:11:00 -
[18] - Quote
Let's discuss here |
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |