Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
codekeyz committed Jan 14, 2025
1 parent df7b72e commit fb8407f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/infrastructure/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ Our edge network routing service is also responsible for features such as DDoS m
Globe uses a custom made runner technology to start your Dart applications on demand in a sandbox environment. The platform will automatically scale your application based on the number of requests it receives.
Runners are created on demand in the closest [region](/infrastructure/regions) to where a user request originates from.

### Key Details

- **Architecture**: Your Dart code is compiled for the x86_64 architecture.
- **FFI (Foreign Function Interface)**: If your application depends on FFI, ensure that the associated code or libraries are also compiled for the x86_64 architecture. Note that some syscalls may not be permitted in the runtime environment. If a particular syscall is critical to your application’s functionality, please submit an issue.

Globe's on-demand dart runner environment means you should:

- Have a theoretically unlimited amount of scale.
- Fully Managed Networking Infrastructure.

However, there are some limitations to achieve this:

- The application cannot rely on having a persistent file system.
- It cannot rely on having persistent memory.

Expand Down
2 changes: 1 addition & 1 deletion packages/globe_cli/lib/src/utils/prompts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ Future<List<String>> findMainEntryPoint(Directory rootDir) async {

final contents = await entity.readAsString();
if (RegExp(r'\bmain\s*\([^)]*\)').hasMatch(contents)) {
entryPoints.add(relativePath);
entryPoints.add(relativePath.replaceAll(r'\', '/'));
}
}

Expand Down

0 comments on commit fb8407f

Please sign in to comment.