Building a server to manage high concurrent connections is non-trival task. For those developers that use ActionScript 3 to build games on the client side it means having a totally different skillset. Being able to use ActionScript 3 on the server to build MMO’s or port client code to the server allows developers to leverage their skills on the server.
By walking through a live game example with more then 15,000 concurrent connections running on a medium Amazon EC2 server the presentation will:
1. Introduce Linux server configuration for high concurrent connected usage.
2. Introduce Socket class based on libev library for high concurrent connection.
3. Introduce leveraging Tamarin project for ActionScript 3 on the server.
Node.js实践 is a document about Node.js. It discusses how Node.js allows JavaScript to be used for server-side applications by providing a fast, scalable, and flexible environment. Node.js uses a single thread with non-blocking I/O and the V8 JavaScript engine. It also uses an event-driven architecture. This allows JavaScript to be used beyond just client-side applications in the browser. It also discusses how libraries like YUI3 and jQuery can be used in Node.js applications both on the front-end and back-end.
Building a server to manage high concurrent connections is non-trival task. For those developers that use ActionScript 3 to build games on the client side it means having a totally different skillset. Being able to use ActionScript 3 on the server to build MMO’s or port client code to the server allows developers to leverage their skills on the server.
By walking through a live game example with more then 15,000 concurrent connections running on a medium Amazon EC2 server the presentation will:
1. Introduce Linux server configuration for high concurrent connected usage.
2. Introduce Socket class based on libev library for high concurrent connection.
3. Introduce leveraging Tamarin project for ActionScript 3 on the server.
Node.js实践 is a document about Node.js. It discusses how Node.js allows JavaScript to be used for server-side applications by providing a fast, scalable, and flexible environment. Node.js uses a single thread with non-blocking I/O and the V8 JavaScript engine. It also uses an event-driven architecture. This allows JavaScript to be used beyond just client-side applications in the browser. It also discusses how libraries like YUI3 and jQuery can be used in Node.js applications both on the front-end and back-end.
LibreOffice Conference 2016 -- Something About Macrosfweng322
This document summarizes a presentation about the speaker's experience learning LibreOffice macros. When asked to teach LibreOffice macros, the speaker found documentation to be outdated or lacking tutorials for beginners. Through help from a friend and trial and error, the speaker began to understand the API structure but still encountered issues. The speaker is now writing a new tutorial on LibreOffice macros to help others learn from the simplest "Hello World" examples through common use cases and migrating from Microsoft Office macros. The goal is to promote smoother adoption of LibreOffice in Taiwan by addressing the lack of current, easy-to-understand macro documentation.
This document summarizes Taiwan's efforts to adopt the Open Document Format (ODF) as the national standard file format. It discusses how Taiwan first decided to use ODF in 2009 but implementation was lacking. In 2014, Taiwan's National Development Council restarted efforts to promote ODF, launching a 3-year project to convert documents to ODF and require its use in government by 2016. The document outlines the strategies used to promote ODF adoption, including emphasizing open standards, international trends of other countries adopting ODF, and addressing issues that arise from using open source software. It provides examples of government agencies and private organizations that have adopted LibreOffice and ODF.
Libreoffice conference: Successful stories: Migrating Libreoffice in Taiwanfweng322
My slides on Libreoffice conference. I share two and a half successful stories: I-Lan County, Coretronics, and the half one is that Taiwan is now migrating to ODF.
Why We Insist Promoting FOSS in Taiwan's School -- Gnome Asia 2015fweng322
ezgo is a customized Linux distribution based on Ubuntu that promotes free and open source software (FOSS) for education. It includes many FOSS programs and public domain resources suitable for education to introduce students to FOSS. Previously, the concept of promoting FOSS involved replacing proprietary software, but this was unsuccessful. ezgo now focuses on applications of FOSS that commercial companies do not address and educating about FOSS through free educational resources. Each new version of ezgo centers on a theme to further promote FOSS, such as diversity, commercial versus FOSS choices, and proving FOSS's value over time. The goal is to introduce students to FOSS and "seed" an appreciation of its values and spirit.
5. Apache 的歷史
●
NCSA – 國家超級電腦應用中心於 1995 年釋出初始的
Apache httpd 版本。
●
為何稱之為 Apache ?
– "A patchy" web server of NCSA HTTPd 1.3
– 官方說法:紀念最後一支屈服於美國政府的原住民族 Apache
●
原始開發者不再維護後,由開放源碼開發者接手,不斷改進,
效能開始超越其他 Unix based web server
17. 重頭戲之一: Virtual Hosts
● Wikipedia: Virtual hosting is a method for hosting multiple
domain names (with separate handling of each name) on a
single server (or pool of servers).
●
簡單地說就是:「多個網站或 Domain 架在同一個 IP
上。」
●
分為 Named-based (名稱對應)、 IP-based (位址對應)
與 Port-based (連接埠對應)三種。
35. 限制網頁的存取: Order, deny,
allow
●
試試幾個例子: <Directory /opt/Taipei>
– Order deny, allow
Deny from 192.168.0.0/24
Allow from 192.168.0.150
– Order allow, deny
Allow from 192.168.0.0/24
Deny from all
– Order deny,allow
Deny from all
Allow from 192.168.0.0/24
36. 針對方法的限制: Limit,LimitExcept
●
針對 HTTP Method 做出限制
– <Limit POST PUT DELETE>
Require valid-user
</Limit>
– <LimitExcept POST GET>
Require ip 192.168.0
</LimitExcept>
– <LimitExcept> 最好擺在 <Limit> 之前。因為 <Limit> 沒指定到的方法
就完全不受保護, <LimitExcept> 則正好相反,保護範圍較大。