Daily Web version (Golang implementation)

Source: Internet
Author: User
Tags vps
This is a creation in Article, where the information may have evolved or changed.

Daily Web version (Golang implementation)

I've never done web development before, but I'm learning golang/git/html/css/gae by writing.

(⊙o⊙) Wow, so much '/'
It's weak, there's wood.

Domain name, VPS are rubbing friends is too miserable

(>﹏<. ) ~ Woo-hoo ...


Source code in Https://github.com/Artwalk/GO-ZhihuDaily


    1. Thanks to @faceair, he did the first web version (PHP) (the API was found in his code)
    2. SQLite stores the JSON data returned by the API, reducing the number of visits to the website
    3. Updated Day Data every hour
    4. Martini Frame
    5. Rub a friend's VPs [seemingly very unstable, is still 502, (OK, is my small program unstable)]

2014-02-24

The diagram replaces the image with the first

Consider using text later, so it's easier to copy and paste.

Well, it's my html/css, it's hard to write, I can't do it Now (>_<)

Want to make the sample paper is Oldreader, the left column title, the right content, to achieve scrolling reading

2014-02-25

V friends too ferocious, first 502, the afternoon after the discovery of the forum to SSH, the discovery process has gone, re-opened a
Night to see Htop, found that has eaten the VPS 25% of Memory (1G), and then small partners angry (๑′°^°๑)

Quickly find the bug, here to change the move, the memory growth rate actually slowed down, hurriedly first cloth up again

And then slowly change, as if it is not close after querying the database, and the last update time forgot to re-assign value, there are ..., and ... (┬_┬)
Then peel the judgment and add an automatic update

Finally write a thing, so simple also came out so many problems, face lost all ╮(╯▽╰)╭

Fortunately now stabilized, it is observed that after a period of time, the memory does not increase back minus

The GC is amazing.

2014-02-28

Looks like the memory's stabilized.

Please Pat


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.