The Function-as-a-Service (FaaS) service model has aroused great interest since its introduction in the context of cloud computing. Although FaaS can be used to perform isolated tasks, it is in the composition of appl...
详细信息
The Function-as-a-Service (FaaS) service model has aroused great interest since its introduction in the context of cloud computing. Although FaaS can be used to perform isolated tasks, it is in the composition of applications that this service model can promote significant performance improvements. This work presents an evolution in the node2FaaS framework, whose objective is to assist in the conversion of originally monolithic *** applications to work with FaaS in the Remote Procedure Call (RPC) communication mechanism. The new implementations in the node2FaaS framework allowed new experiments to be conducted. Those showed significant gains in runtime for applications with CPU-bound, memory-bound, I/O-bound characteristics, especially for a Bioinformatics application that aims to align genetic sequences.
The *** runtime, in combination with node Package Manager (NPM), is a popular ecosystem for building server-side web applications. Both JavaScript's flexible and dynamic character and the vast amount of NPM librar...
详细信息
ISBN:
(纸本)9781665452786
The *** runtime, in combination with node Package Manager (NPM), is a popular ecosystem for building server-side web applications. Both JavaScript's flexible and dynamic character and the vast amount of NPM libraries available can speed up the development of web applications. However, JavaScript and *** lack security mechanisms and abstractions. Despite the numerous language-based approaches proposed to protect JavaScript applications, no work supports applicationlevel and business -level security properties. This means that in order to achieve both application-level and business -level security, developers are forced to rely on multiple different, unintegrated and incompatible tools and mechanisms. In this paper, we present BRIGADIER, an interactive security testing framework for *** applications that enables the specification of both application-level and business -level security policies. BRIGADIER provides developers with a Datalog-based policy specification language that features close interoperability with running JavaScript programs under test. Input JavaScript programs are instrumented to emit relevant application events sent to a Datalog engine resulting from the compilation of the policies. We exhibit BRIGADIER'S expressiveness by implementing three case studies from the literature. We also assess BRIGADIER'S performance overhead on server-side applications. In our benchmarks, we observed a slowdown factor ranging from similar to 1.2x to similar to 3x, which is acceptable for a testing scenario.
Create real-time applications using *** 10, Docker, MySQL, MongoDB, and *** with this practical guide and go beyond the developer's laptop to cover live deployment, including HTTPS and hardened security. Key Featu...
详细信息
ISBN:
(数字)9781788627368
ISBN:
(纸本)9781788626859
Create real-time applications using *** 10, Docker, MySQL, MongoDB, and *** with this practical guide and go beyond the developer's laptop to cover live deployment, including HTTPS and hardened security. Key Features Learn server-side JavaScript coding through the most up-to-date book on *** Explore the latest JavaScript features, and EcmaScript modules Walk through different stages of developing robust applications using *** 10 Book Description *** is a server-side JavaScript platform using an event-driven, non-blocking I/O model allowing users to build fast and scalable data-intensive applications running in real time. This book gives you an excellent starting point, bringing you straight to the heart of developing web applications with ***. You will progress from a rudimentary knowledge of JavaScript and server-side development to being able to create, maintain, deploy and test your own *** *** will understand the importance of transitioning to functions that return Promise objects, and the difference between fs, fs/promises and fs-extra. With this book you'll learn how to use the HTTP Server and Client objects, data storage with both SQL and MongoDB databases, real-time applications with ***, mobile-first theming with Bootstrap, microservice deployment with Docker, authenticating against third-party services using OAuth, and use some well known tools to beef up security of Express 4.16 applications. What you will learn Install and use *** 10 for both development and deployment Use the Express 4.16 application framework Work with REST service development using the Restify framework Use data storage engines such as MySQL, SQLITE3, and MongoDB Use User authentication methods with OAuth2 Perform Real-time communication with the front-end using *** Implement Docker microservices in development, testing and deployment Perform unit testing with Mocha 5.x, and functional testing with Puppeteer 1.1.x Work with HTT
This paper describes the design, development and construction of low power sensors nodes, based on internet of things technologies, for the acquisition, processing, transmission and visualization of electrocardiograph...
详细信息
Learn everything you need to get up and running with cutting-edge API development using JavaScript and ***; ideal for data-intensive real-time applications that run across multiple platforms. Key Features Build web AP...
详细信息
ISBN:
(数字)9781789534177
ISBN:
(纸本)9781789539660
Learn everything you need to get up and running with cutting-edge API development using JavaScript and ***; ideal for data-intensive real-time applications that run across multiple platforms. Key Features Build web APIs from start to finish using JavaScript across the development stack Explore advanced concepts such as authentication with JWT, and running tests against your APIs Implement over 20 practical activities and exercises across 9 topics to reinforce your learning Book Description Using the same framework to build both server and client-side applications saves you time and money. This book teaches you how you can use JavaScript and *** to build highly scalable APIs that work well with lightweight cross-platform client applications. It begins with the basics of *** in the context of backend development, and quickly leads you through the creation of an example client that pairs up with a fully authenticated API implementation. By the end of the book, you'll have the skills and exposure required to get hands-on with your own API development project. What you will learn Understand how *** works, its trends, and where it is being used now Learn about application modularization and built-in *** modules Use the npm third-party module registry to extend your application Gain an understanding of asynchronous programming with *** Develop scalable and high-performing APIs using *** and *** Write unit tests for your APIs to ensure reliability and maintainability Who this book is for This book is ideal for developers who already understand JavaScript and are looking for a quick no-frills introduction to API development with ***. Though prior experience with other server-side technologies such as Python, PHP, ***, Ruby will help, it's not essential to have a background in backend development before getting started.
Over 60 high-quality recipes covering debugging, security, performance, microservices, web frameworks, databases, deployment and more; rewritten for *** 8, *** 6, and *** 4About This Book• Actionable recipes across th...
详细信息
ISBN:
(数字)9781785881244
ISBN:
(纸本)9781785880087
Over 60 high-quality recipes covering debugging, security, performance, microservices, web frameworks, databases, deployment and more; rewritten for *** 8, *** 6, and *** 4
About This Book
• Actionable recipes across the full spectrum of *** development
• Cutting edge techniques and tools for measuring and improving performance
• Best practices for creating readily-scalable production systems
Who This Book Is For
If you have good knowledge of JavaScript and want to build fast, efficient, scalable client-server solutions, then this book is for you. Some experience with *** is assumed to get the most out of this book. If working from a beginner level node Cookbook 2nd Edition is recommended as a primer for node Cookbook 3rd Edition.
What You Will Learn
• Debug *** programs
• Write and publish your own *** modules
• Detailed coverage of *** core API’s
• Use web frameworks such as Express, Hapi and Koa for accelerated web application development
• Apply *** streams for low-footprint data processing
• Fast-track performance knowledge and optimization abilities
• Persistence strategies, including database integrations with MongoDB, MySQL/MariaDB, Postgres, Redis, and LevelDB
• Apply critical, essential security concepts
• Use node with best-of-breed deployment technologies: Docker, Kubernetes and AWS
In Detail
Today's web demands efficient real-time applications and scalability. Asynchronous event-driven programming is ideal for this, and this is where *** comes in. Server-side JavaScript has been here since the 90s, but node got it right.
With node for tooling and server-side logic, and a browser-based client-side UI, everything is JavaScript. This leads to rapid, fluid development cycles. The full-stack, single language experience means less context-switching between languages for developers, architects and whole teams.
This book shows you how to build fast, efficient, and scalable client-server solutions using the latest
One of the more interesting developments recently gaining popularity in the server-side JavaScript space is ***. It\'s a framework for developing high-performance, concurrent programs that don\'t rely on the m...
详细信息
One of the more interesting developments recently gaining popularity in the server-side JavaScript space is ***. It\'s a framework for developing high-performance, concurrent programs that don\'t rely on the mainstream multithreading approach but use asynchronous I/O with an event-driven programming model.
We examine the implications of end-to-end web application development, in the social web era. The paper describes a distributed architecture, suitable for modern web application development, as well as the interactivi...
详细信息
We examine the implications of end-to-end web application development, in the social web era. The paper describes a distributed architecture, suitable for modern web application development, as well as the interactivity components associated with it. Furthermore, we conducted a series of stress tests, on popular server side technologies. The PHP/Apache stack was found inefficient to address the increasing demand in network traffic. Nginx was found more than 2.5 times faster in input/output (I/O) operations than Apache, whereas *** outperformed both. ***, although excellent in I/O operations and resource utilization, was found lacking in serving static files using its built in HTTP server, while Nginx performed great at this task. So, in order to address efficiency, an Nginx server could be placed in-front and proxy static file requests, allowing the *** processes to only handle dynamic content. Such a configuration can offer a better infrastructure in terms of efficiency and scalability, replacing the aged PHP/Apache stack. Furthermore we have found that building cross platform applications based on web technologies, is both feasible and highly productive, especially when addressing stationary and mobile devices, as well as the fragmentation among them. Our study concludes that *** offers client-server development integration, aiding code reusability in web applications, and is the perfect tool for developing fast, scalable network applications.
This paper presents a new approach to develop remote practices for Systems Engineering and Automatic Control laboratories based on Easy JavaScript Simulations (EjsS), Raspberry Pi and ***. EjsS is used to create a Jav...
详细信息
This paper presents a new approach to develop remote practices for Systems Engineering and Automatic Control laboratories based on Easy JavaScript Simulations (EjsS), Raspberry Pi and ***. EjsS is used to create a JavaScript and HTML5 laboratory front-end that lets Leachers and students parametrize and observe the behavior of the controllers/systems under study from the web-browsers of their tablets and smartphones. The Raspberry Pi, a low-cost single-board computer, is in charge of running 1) the C program that closes the control loop over the selected plant and 2) the JavaScript laboratory web server that hosts the laboratory front-end and communicates it with the controller. Finally, the JavaScript development and runtime platform *** is used 1) to develop and run the Javascript laboratory web sever within the Raspberry Pi and 2) to support the communications between the laboratory front-end and server. The new strategy, tested over a Proportional/Integral/Differential (PID)) controller for a vertical mono-rotor plant, provides low-cost real-time support to the controller and friendly remote access from mobile devices to the practices for the students. (C) 2015, IFAC (International Federation of Automatic Control) Hosting by Elsevier Ltd. All rights reserved.
Air pollution is always a problem that continuous to grow every time. Not only affects the environment, air pollution also affects human health so it needs to be dealt with quickly. Air quality in environment especial...
详细信息
ISBN:
(纸本)9781728183091
Air pollution is always a problem that continuous to grow every time. Not only affects the environment, air pollution also affects human health so it needs to be dealt with quickly. Air quality in environment especially indoor area becomes something that is rarely considered. Even though we spend more time indoors, so it's also important to know the air we breathe. In today's modern era, air monitoring can utilize applications on our technology and internet devices, it can be an interesting and efficient thing to monitor. In this Internet of things project the monitoring system built by integrating software and hardware with device micro controller and low-cost sensor MQ 135 and DHT 11. node sensor produces data and processed with a microcontroller. The resulting data then immediately transmitted to the cloud by internet network using MQTT and combine with *** MQTT open source clients used to publish messages and subscribe to topics on brokers. Wireless Sensor Network also applied so sensor nodes can be placed anywhere and data can be acquired into one dashboard display. A web-based dashboard was built to facilitate access of information from existing air quality in different room.
暂无评论