Register
Results 1 to 8 of 8
  1. #1
    Kathroman's Avatar
    Posts
    5,452
    Reputation
    286
    Blog Entries
    20
    Tagged in
    2157 Posts
    Add to this user's reputation

    WoW-GPS Pricing API

    Well, I've finally finished the first pass of the first part of the new, open source WoW-GPS.

    I've just spent most of my morning blasting through the README, so I'm not going to go into too much detail here. You can view the source here: https://github.com/camerontweedle/wow-gps-api-pricing

    NOTE: The intended end-user for this part of the project is NOT your average user. This is meant to be used by devs/server admins who would like to run their own, custom pricing API server, either publicly, privately, or locally. As such, it might be a bit too technical for most people, and if you're not familiar with a lot of the prerequisite technology, you'll probably have difficulty getting it up and running. So, if you go and visit that link and have absolutely no idea what's going on, that's ok - this part of the project probably isn't for you.

    If you run into technical issues/bugs, please open an issue on Github. If you just have general questions, or would like some more information about what's going on here, feel free to post in this thread.

    My ultimate goal is that all realms' historical auction data would end up being served by this application running on a public webserver. The 2 best ways for this to happen would be:

    a) Developer(s)/server admin(s) with available server space and time to setup/maintain the application for all or some realms, publicly
    b) Server admin(s) with server space but without skills/resources to setup/maintain the application getting in touch with me to see if we can work something out

    On a philosophical level, one of the nice things about the pricing API is that there really isn't anything about it it that is WoW-GPS-specific, so ultimately, this application could technically be used in order to provide auction pricing information to ANY application/spreadsheet, etc. I really tried to ensure it stands on its own, so if you're interested in using this API for your own project, etc. feel free to give me a shout and I can walk you through some of the implementation details.

    Here's hoping the other 2 parts of the project aren't TOO far behind

    -Kathroman
    Like what you see? Become an Ethereal Contributor to help support the site and gain access to additional perks.

        

    Guides: Thunder Bluff Vendor Supply Route | Entry Level JC Strategy | Alternative DMF Guide

    TSM 2.0: TSM 2.0 Groups & Operations GUIDE | TSM 2.0 Basic JC Shuffler | TSM 2.0 ADVANCED JC Shuffler

  2. #2
    tedj's Avatar
    Posts
    476
    Reputation
    35
    Blog Entries
    2
    Tagged in
    215 Posts
    Add to this user's reputation
    Is there any reason why you chose Ruby and MySQL? Asking because for writing data, NoSQL databases like MongoDB are usually faster at writing huge data loads and, for example, NodeJS is significantly faster than Ruby on Rails.

    Ruby is amazing for scalability and for large teams since it's opinionated (meaning structures are usually pre-defined and everybody will understand your architecture and business logic) whilst NodeJS is more of a "open sandbox" environment. However, NodeJS has been shown to be significantly faster than Ruby. This could potentially improve the data fetches and updates.
    Profession Kits - An Adventure to Millions
    Help and be helped, and we'll have a community.

  3. #3
    Kathroman's Avatar
    Posts
    5,452
    Reputation
    286
    Blog Entries
    20
    Tagged in
    2157 Posts
    Add to this user's reputation
    Quote Originally Posted by tedj View Post
    Is there any reason why you chose Ruby and MySQL? Asking because for writing data, NoSQL databases like MongoDB are usually faster at writing huge data loads and, for example, NodeJS is significantly faster than Ruby on Rails.

    Ruby is amazing for scalability and for large teams since it's opinionated (meaning structures are usually pre-defined and everybody will understand your architecture and business logic) whilst NodeJS is more of a "open sandbox" environment. However, NodeJS has been shown to be significantly faster than Ruby. This could potentially improve the data fetches and updates.
    1) I'm not at all familiar with NodeJS - I thought about starting to learn it a few years back, but based on the state it's in ATM, I'm a bit glad I didn't
    2) I'm not using MySQL, I'm using PostgreSQL, but I doubt it would make a difference. Also, I've opted out of Rails' built-in ORM syntax in this case and instead am using large, single-statement, DB-optimized INSERT/UPDATE code. I was able to increase write performance by 10-15x using this method, so I'm actually not all that concerned about it at this stage.

    Tl;DR - the speed of the app appears to be quite reasonable, at this stage, unless someone has some evidence to the contrary
    Like what you see? Become an Ethereal Contributor to help support the site and gain access to additional perks.

        

    Guides: Thunder Bluff Vendor Supply Route | Entry Level JC Strategy | Alternative DMF Guide

    TSM 2.0: TSM 2.0 Groups & Operations GUIDE | TSM 2.0 Basic JC Shuffler | TSM 2.0 ADVANCED JC Shuffler

  4. #4
    tedj's Avatar
    Posts
    476
    Reputation
    35
    Blog Entries
    2
    Tagged in
    215 Posts
    Add to this user's reputation
    I wasn't saying it's not fast or that it wasn't fast enough Kathroman. I was just asking because I know that, on average, it is, and I was curious if there was any reason why you chose Ruby (I guess I know now).

    Once again, curiosity only - What do you think NodeJS's state is currently bad? (I interpreted this from saying you're glad you didn't go with it)
    Profession Kits - An Adventure to Millions
    Help and be helped, and we'll have a community.

  5. #5
    Kathroman's Avatar
    Posts
    5,452
    Reputation
    286
    Blog Entries
    20
    Tagged in
    2157 Posts
    Add to this user's reputation
    Yeah, I chose Ruby because in terms of server side languages, I have experience in both PHP and Ruby, and well...PHP hurts my soul, so Ruby was the easy choice.

    RE: NodeJS - nothing really tangible, just a sense that it might have already peaked and is even perhaps on the decline. I know that NPM has been trying to sort out issues lately, and it just doesn't feel like NodeJS has the same traction that it did even 2-3 years ago.
    Like what you see? Become an Ethereal Contributor to help support the site and gain access to additional perks.

        

    Guides: Thunder Bluff Vendor Supply Route | Entry Level JC Strategy | Alternative DMF Guide

    TSM 2.0: TSM 2.0 Groups & Operations GUIDE | TSM 2.0 Basic JC Shuffler | TSM 2.0 ADVANCED JC Shuffler

  6. #6
    tedj's Avatar
    Posts
    476
    Reputation
    35
    Blog Entries
    2
    Tagged in
    215 Posts
    Add to this user's reputation
    Glad to know we are on the same page about PHP haha. I've never really got my hands on Ruby. It's on my to-do list.
    I've been working with NodeJS for some time, and I can't say I feel that, but maybe my opinion is biased.
    Profession Kits - An Adventure to Millions
    Help and be helped, and we'll have a community.

  7. #7
    Kathroman's Avatar
    Posts
    5,452
    Reputation
    286
    Blog Entries
    20
    Tagged in
    2157 Posts
    Add to this user's reputation
    Quote Originally Posted by tedj View Post
    Glad to know we are on the same page about PHP haha. I've never really got my hands on Ruby. It's on my to-do list.
    I've been working with NodeJS for some time, and I can't say I feel that, but maybe my opinion is biased.
    I mean, I get the concept - server side javascript means you don't need to learn syntax/nuances of a completely new language, but javascript wasn't every really an elegant language in the first place. Easy and accessible? Sure, but not very nice beyond that. With the evolution of javascript via ES6, etc. I think people are realizing just how much they really don't want to write THAT much javascript. I think that's where NodeJS capped itself off - they chose an accessible language to get people to the table, but they didn't really have the staying power to keep them there.
    Like what you see? Become an Ethereal Contributor to help support the site and gain access to additional perks.

        

    Guides: Thunder Bluff Vendor Supply Route | Entry Level JC Strategy | Alternative DMF Guide

    TSM 2.0: TSM 2.0 Groups & Operations GUIDE | TSM 2.0 Basic JC Shuffler | TSM 2.0 ADVANCED JC Shuffler

  8. #8
    tedj's Avatar
    Posts
    476
    Reputation
    35
    Blog Entries
    2
    Tagged in
    215 Posts
    Add to this user's reputation
    Maybe. Me, personally, I love JavaScript for one single reason - functional programming. Being able to pass around functions as params to use as callbacks (i.e.) is just amazing, and that's the biggest reason why I still like NodeJS.

    The problem with most people, imo, is that they either don't fully understand JS (functional programming mindset is not easy to come by if you've learned objected oriented all your life) or they don't like being in a sandbox. Because in the end, JavaScript is a sandbox and doesn't have the same standardized structure that Java (i.e.) has. It's far more open to choice. If you can handle that and manage to build a well structured app, then personally it's all great.
    Profession Kits - An Adventure to Millions
    Help and be helped, and we'll have a community.

 

 

Similar Threads

  1. Pricing Help
    By dotEXE in forum General TradeSkillMaster Discussion
    Replies: 2
    Last Post: January 24th, 2016, 09:48 PM
  2. TSM pricing help.
    By Quiin in forum General TradeSkillMaster Discussion
    Replies: 13
    Last Post: September 10th, 2015, 06:28 PM
  3. Hey Pricing Help -- Thank you
    By mmartin1212 in forum General TradeSkillMaster Discussion
    Replies: 3
    Last Post: January 24th, 2015, 08:23 AM
  4. Pricing help
    By Nech in forum General TradeSkillMaster Discussion
    Replies: 0
    Last Post: October 15th, 2014, 10:57 AM
  5. 32 bit pricing?
    By Thorzek in forum Official Forum of The Undermine Journal
    Replies: 9
    Last Post: June 13th, 2011, 02:51 PM